Optimal. Leaf size=140 \[ \frac{1}{5} x^5 (d+10 e)+\frac{5}{4} x^4 (2 d+9 e)+5 x^3 (3 d+8 e)+15 x^2 (4 d+7 e)-\frac{15 (8 d+3 e)}{2 x^2}-\frac{5 (9 d+2 e)}{3 x^3}-\frac{10 d+e}{4 x^4}+42 x (5 d+6 e)-\frac{30 (7 d+4 e)}{x}+42 (6 d+5 e) \log (x)-\frac{d}{5 x^5}+\frac{e x^6}{6} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0706684, antiderivative size = 140, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.105, Rules used = {27, 76} \[ \frac{1}{5} x^5 (d+10 e)+\frac{5}{4} x^4 (2 d+9 e)+5 x^3 (3 d+8 e)+15 x^2 (4 d+7 e)-\frac{15 (8 d+3 e)}{2 x^2}-\frac{5 (9 d+2 e)}{3 x^3}-\frac{10 d+e}{4 x^4}+42 x (5 d+6 e)-\frac{30 (7 d+4 e)}{x}+42 (6 d+5 e) \log (x)-\frac{d}{5 x^5}+\frac{e x^6}{6} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 76
Rubi steps
\begin{align*} \int \frac{(d+e x) \left (1+2 x+x^2\right )^5}{x^6} \, dx &=\int \frac{(1+x)^{10} (d+e x)}{x^6} \, dx\\ &=\int \left (42 (5 d+6 e)+\frac{d}{x^6}+\frac{10 d+e}{x^5}+\frac{5 (9 d+2 e)}{x^4}+\frac{15 (8 d+3 e)}{x^3}+\frac{30 (7 d+4 e)}{x^2}+\frac{42 (6 d+5 e)}{x}+30 (4 d+7 e) x+15 (3 d+8 e) x^2+5 (2 d+9 e) x^3+(d+10 e) x^4+e x^5\right ) \, dx\\ &=-\frac{d}{5 x^5}-\frac{10 d+e}{4 x^4}-\frac{5 (9 d+2 e)}{3 x^3}-\frac{15 (8 d+3 e)}{2 x^2}-\frac{30 (7 d+4 e)}{x}+42 (5 d+6 e) x+15 (4 d+7 e) x^2+5 (3 d+8 e) x^3+\frac{5}{4} (2 d+9 e) x^4+\frac{1}{5} (d+10 e) x^5+\frac{e x^6}{6}+42 (6 d+5 e) \log (x)\\ \end{align*}
Mathematica [A] time = 0.0348496, size = 142, normalized size = 1.01 \[ \frac{1}{5} x^5 (d+10 e)+\frac{5}{4} x^4 (2 d+9 e)+5 x^3 (3 d+8 e)+15 x^2 (4 d+7 e)-\frac{15 (8 d+3 e)}{2 x^2}-\frac{5 (9 d+2 e)}{3 x^3}+\frac{-10 d-e}{4 x^4}+42 x (5 d+6 e)-\frac{30 (7 d+4 e)}{x}+42 (6 d+5 e) \log (x)-\frac{d}{5 x^5}+\frac{e x^6}{6} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 128, normalized size = 0.9 \begin{align*}{\frac{e{x}^{6}}{6}}+{\frac{d{x}^{5}}{5}}+2\,e{x}^{5}+{\frac{5\,d{x}^{4}}{2}}+{\frac{45\,e{x}^{4}}{4}}+15\,d{x}^{3}+40\,e{x}^{3}+60\,d{x}^{2}+105\,e{x}^{2}+210\,dx+252\,ex+252\,d\ln \left ( x \right ) +210\,e\ln \left ( x \right ) -15\,{\frac{d}{{x}^{3}}}-{\frac{10\,e}{3\,{x}^{3}}}-{\frac{5\,d}{2\,{x}^{4}}}-{\frac{e}{4\,{x}^{4}}}-60\,{\frac{d}{{x}^{2}}}-{\frac{45\,e}{2\,{x}^{2}}}-210\,{\frac{d}{x}}-120\,{\frac{e}{x}}-{\frac{d}{5\,{x}^{5}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.962507, size = 171, normalized size = 1.22 \begin{align*} \frac{1}{6} \, e x^{6} + \frac{1}{5} \,{\left (d + 10 \, e\right )} x^{5} + \frac{5}{4} \,{\left (2 \, d + 9 \, e\right )} x^{4} + 5 \,{\left (3 \, d + 8 \, e\right )} x^{3} + 15 \,{\left (4 \, d + 7 \, e\right )} x^{2} + 42 \,{\left (5 \, d + 6 \, e\right )} x + 42 \,{\left (6 \, d + 5 \, e\right )} \log \left (x\right ) - \frac{1800 \,{\left (7 \, d + 4 \, e\right )} x^{4} + 450 \,{\left (8 \, d + 3 \, e\right )} x^{3} + 100 \,{\left (9 \, d + 2 \, e\right )} x^{2} + 15 \,{\left (10 \, d + e\right )} x + 12 \, d}{60 \, x^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.21954, size = 342, normalized size = 2.44 \begin{align*} \frac{10 \, e x^{11} + 12 \,{\left (d + 10 \, e\right )} x^{10} + 75 \,{\left (2 \, d + 9 \, e\right )} x^{9} + 300 \,{\left (3 \, d + 8 \, e\right )} x^{8} + 900 \,{\left (4 \, d + 7 \, e\right )} x^{7} + 2520 \,{\left (5 \, d + 6 \, e\right )} x^{6} + 2520 \,{\left (6 \, d + 5 \, e\right )} x^{5} \log \left (x\right ) - 1800 \,{\left (7 \, d + 4 \, e\right )} x^{4} - 450 \,{\left (8 \, d + 3 \, e\right )} x^{3} - 100 \,{\left (9 \, d + 2 \, e\right )} x^{2} - 15 \,{\left (10 \, d + e\right )} x - 12 \, d}{60 \, x^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.17201, size = 117, normalized size = 0.84 \begin{align*} \frac{e x^{6}}{6} + x^{5} \left (\frac{d}{5} + 2 e\right ) + x^{4} \left (\frac{5 d}{2} + \frac{45 e}{4}\right ) + x^{3} \left (15 d + 40 e\right ) + x^{2} \left (60 d + 105 e\right ) + x \left (210 d + 252 e\right ) + 42 \left (6 d + 5 e\right ) \log{\left (x \right )} - \frac{12 d + x^{4} \left (12600 d + 7200 e\right ) + x^{3} \left (3600 d + 1350 e\right ) + x^{2} \left (900 d + 200 e\right ) + x \left (150 d + 15 e\right )}{60 x^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.20666, size = 188, normalized size = 1.34 \begin{align*} \frac{1}{6} \, x^{6} e + \frac{1}{5} \, d x^{5} + 2 \, x^{5} e + \frac{5}{2} \, d x^{4} + \frac{45}{4} \, x^{4} e + 15 \, d x^{3} + 40 \, x^{3} e + 60 \, d x^{2} + 105 \, x^{2} e + 210 \, d x + 252 \, x e + 42 \,{\left (6 \, d + 5 \, e\right )} \log \left ({\left | x \right |}\right ) - \frac{1800 \,{\left (7 \, d + 4 \, e\right )} x^{4} + 450 \,{\left (8 \, d + 3 \, e\right )} x^{3} + 100 \,{\left (9 \, d + 2 \, e\right )} x^{2} + 15 \,{\left (10 \, d + e\right )} x + 12 \, d}{60 \, x^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]